//package com.test.dao.impl;
//
//import javax.annotation.Resource;
//
//import org.mybatis.spring.SqlSessionTemplate;
//import org.springframework.stereotype.Service;
//
//import com.test.dao.FoodDao;
//import com.test.entity.Food;
//
//@Service("foodDao")
//public class FoodDaoImpl implements FoodDao{
//	
//	@Resource
//	private SqlSessionTemplate sqlSessionTemplate;
//	
//	
//	public int insert(Food food) {
//		return sqlSessionTemplate.insert("com.test.entity.Food.insert", food);
//	}
//	
//	public Food select(Integer id) {
//		return sqlSessionTemplate.selectOne("com.test.entity.Food.select",id);
//	}
//	
//}
